﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SNSpirit.Domain.User;

namespace SNSpirit.Domain.Rss
{
    public class RssUpdateFailedException : Exception
    {
        public RssUpdateFailedException(Uri rssUri, UserEntity user, Exception innerException)
            : base("Rss update failed", innerException)
        {
            this.RssUri = rssUri;
            this.User = user;
        }

        public Uri RssUri { get; private set; }

        public UserEntity User { get; private set; }
    }
}
